package com.yxq.mdt.app.modules.socialcontact.presenter;

import com.yxq.mdt.app.base.ibase.IBaseContract;
import com.yxq.mdt.app.modules.socialcontact.bean.CircleTopicListBean;
import com.yxq.mdt.app.modules.socialcontact.bean.MainSocialHeadBean;
import com.yxq.mdt.app.modules.socialcontact.bean.SocialAllListMember;

public interface mainSocialHomeRecommendContract extends IBaseContract {
    interface View extends IBaseView {

        void onLoadRecommendGroupDetailSuccess(MainSocialHeadBean mainSocialHeadBean);

        void onLoadRecommendGroupDetailFailed();

        void onLoadTopListSuccess(CircleTopicListBean circleTopicListBean);

        void onLoadTopListFailed();

        void onLoadApplyGroupSuccess(String s);

        void onLoadApplyGroupFailed();

        void onLoadIntroductionGroupMembersSuccess(String s);

        void onLoadIntroductionGroupMembersFailed();

        void onLoadQueryGroupMembersSuccess(SocialAllListMember socialAllListMember);

        void onLoadQueryGroupMembersFailed();

        void onLoadRelationSuccess(String s);

        void onLoadRelationFailed();
    }

    interface Presenter extends IBasePresenter {
        void getTopList(String groupId, int pageNum, int pageSize);

        void setApplyGroup(String groupId);

        void setIntroductionGroupMembers(String id);

        void getQueryGroupMembers(int pageNum, String groupId, int pageSize);

        void getRecommendGroupDetail(String id);

        void setInterestRelation(String toUserId, int enabled, int type);
    }
}
